package com.jic.point.api;

import com.github.pagehelper.PageInfo;
import com.jic.common.base.vo.RestResult;
import com.jic.point.rest.request.PublMemberLogsRequest;
import com.jic.point.rest.response.PublMemberLogs;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName EarlyWarningApi
 * TODO
 * @Description
 * @Author chenhongfeng
 * @Date 2020/11/28 16:08
 * @Version 1.0
 **/
@FeignClient(name = "jic-point",path = "/api/point/publmember")
@Api("查询会员积分对外接口")
public interface EarlyWarningApi {
    /**
     * 作废了的
     * @param request
     * @return
     */
    @PostMapping("/listPage")
    @ApiOperation(value = " 分页查询列表 ")
    @ResponseBody
    public RestResult<PageInfo<PublMemberLogs>> listPage (@RequestBody PublMemberLogsRequest request) ;
}
